class dialog
{
	function showPlayerDialog(playerid,id,type,title,text)
	{
	//1 = text box
	//2 = listbox
		triggerClientEvent(playerid,"GUIDialog", id, type, title, text, "OK", "Cancel");
		togglePlayerControls(playerid, false);
		return 1;
	}
}